﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using XHD.WXZJ.Roles.Dto;

namespace XHD.WXZJ.Roles
{
    public interface IRoleAppService : IApplicationService
    {
        Task UpdateRolePermissions(UpdateRolePermissionsInput input);
        Task CreateRole(RoleInput input);

        //IList<RoleOutput> GetAllRoles();
        ListResultOutput<RoleDto> GetAllRoles();
        Task DeleteRoleByRoleId(RoleInput input);

        RoleDto GetRoleByRoleId(int roleId);

        Task UpdateRole(RoleInput input);

        PagedResultOutput<RoleDto> GetAllRolesByPage();
    }
}
